#{extends 'Application/tela_func.html' /}
#{set title:'Cadastro' /}
<html>

  <table border="0" class="posicao_tela">
    <tr><td><img src="/public/images/tela_cadastro.png"></td><tr>
  </table>	
  
  <form action="@{Application.cadastrar()}" method="GET">
	  <font size="4" align = "left">
	  <table border = "0" class = "posicao_perfil">
	  <tr><td>*Nome</td><td><input name="nome" type="text" size="40" maxlength="80" value = ${nome}></td><tr>
	  <tr><td>*CPF</td><td><input name="cpf" type="text" size="40" maxlength="80" value = ${cpf}></td></tr>
	  <tr><td>*Telefone</td><td><input name="telefone" type="text" size="40" maxlength="80" value = ${telefone}></td></tr>
	  <tr><td>*Endere&ccedil;o</td><td><input name="endereco" type="text" size="40" maxlength="80" value = ${endereco}></td></tr>
	  <tr><td>*Login</td><td><input name="login" type="text" size="40" maxlength="80" ></td></tr>
	  <tr><td>*Senha</td><td><input name="senha" type="password" size="40" maxlength="80" ></td></tr>
	  <tr><td>*Repetir senha</td><td><input name="senha2" type="password" size="40" maxlength="80" ></td></tr>
	  <tr><td>*Tipo</td><td><select name="tipo">
	  #{list items: tipos, as:'t'}
			<option value=${t}>${t}</option>
	  #{/list}
	  </select></td></tr>
	  <tr><td></td><td align = "left"><input value="cadastrar" type = "submit"></td></tr>
	  <tr><td></td><td align="left"><font color ="red" size="2">${msg}</font></td></tr>
	  </table>
	  </font>
  </form>
</html>